package com.dwxt.cdms.dao;

import com.dwxt.cdms.entity.HealthSummaryYear;
import com.dwxt.cdms.entity.HealthSummaryYearExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HealthSummaryYearMapper {
    long countByExample(HealthSummaryYearExample example);

    int deleteByExample(HealthSummaryYearExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HealthSummaryYear record);

    int insertSelective(HealthSummaryYear record);

    List<HealthSummaryYear> selectByExampleWithBLOBs(HealthSummaryYearExample example);

    List<HealthSummaryYear> selectByExample(HealthSummaryYearExample example);

    HealthSummaryYear selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HealthSummaryYear record, @Param("example") HealthSummaryYearExample example);

    int updateByExampleWithBLOBs(@Param("record") HealthSummaryYear record, @Param("example") HealthSummaryYearExample example);

    int updateByExample(@Param("record") HealthSummaryYear record, @Param("example") HealthSummaryYearExample example);

    int updateByPrimaryKeySelective(HealthSummaryYear record);

    int updateByPrimaryKeyWithBLOBs(HealthSummaryYear record);

    int updateByPrimaryKey(HealthSummaryYear record);

    HealthSummaryYear selectLastRecord(Integer customerId);
}